package org.git.movie.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author sqyc
 */
@Data
public class PerfLog  implements Serializable {
    /**
     * type可取值为
     * sql,url
     */
    private String type;
    private String url;
    private String clientIp;
    private String userAgent;

    private String sql;
    private String sqlId;
    private String params;
    private Long takeTime;
    private String appIp;
    private String appName;

    private String traceId;

    private Date createTime;

    public PerfLog(String type) {
        this.type = type;
    }
}
